package com.library.service;

import com.library.dto.UserDTO;
import com.library.dto.UserLoginDTO;
import com.library.dto.UserPasswordDTO;
import com.library.entity.User;

public interface UserService {
    User login(UserLoginDTO userLoginDTO);

    void register(UserDTO userDTO);

    void update(UserDTO userDTO);

    void updatePassword(UserPasswordDTO userPasswordDTO);

    User getUserByUsername(String username);
}
